package com.wsy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wsy.entity.RolePermission;
import com.wsy.mapper.PermissionMapper;
import com.wsy.service.PermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class PermissionImpl extends ServiceImpl<PermissionMapper, RolePermission> implements PermissionService {
    @Resource
    PermissionMapper permissionMapper;


    @Override
    public List<Map<String, Object>> selPermission(Integer roleid) {
        return permissionMapper.selPermission(roleid);
    }
}
